<?php


namespace app\privatearea\controller\astro;


use app\privatearea\controller\AstroAuth;

class Upload extends AstroAuth
{
    public function upload()
    {
        $type = input('type/d', 3);
        // 文件上传
        return (new \app\privatearea\service\Upload())->upload($type, 'file');
    }
}
